package com.example.userpage.model;

import java.util.Map;

public class UserInfoDto {
    private String username;
    private String createdTime;
    private String picUrl;
    private String vote_time;
    private int vote_num;
    private int characterNum;
    private Map<String, Object> extra; // 存放 name_1,currentVotes_1 等动态字段

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getVote_time() {
        return vote_time;
    }

    public void setVote_time(String vote_time) {
        this.vote_time = vote_time;
    }

    public int getVote_num() {
        return vote_num;
    }

    public void setVote_num(int vote_num) {
        this.vote_num = vote_num;
    }

    public int getCharacterNum() {
        return characterNum;
    }

    public void setCharacterNum(int characterNum) {
        this.characterNum = characterNum;
    }

    public Map<String, Object> getExtra() {
        return extra;
    }

    public void setExtra(Map<String, Object> extra) {
        this.extra = extra;
    }
}